import pytest
from common import log_set,sent_main
if __name__ == '__main__':
    log_set()
    #html页面
    pytest.main(['./','-s','html==baogao.html'])
    #报告，日志
    sent_main(['baogao.html','log.txt'])